package top.drinyeit.nongmao.model;

import java.util.List;

/**
 * Created by wu on 2018/1/12.
 */

public class ChildrenOrderDetailBean {
    private AddressInfo address_info;
    private OrderDetail order_detail;

    public AddressInfo getAddress_info() {
        return address_info;
    }

    public OrderDetail getOrder_detail() {
        return order_detail;
    }

    public void setAddress_info(AddressInfo address_info) {
        this.address_info = address_info;
    }

    public void setOrder_detail(OrderDetail order_detail) {
        this.order_detail = order_detail;
    }

    public class AddressInfo {
        private AddressDetail address_detail_json;
        private String consignee_name;
        private String consignee_phone;

        public AddressDetail getAddress_detail_json() {
            return address_detail_json;
        }

        public String getConsignee_name() {
            return consignee_name;
        }

        public String getConsignee_phone() {
            return consignee_phone;
        }

        public void setAddress_detail_json(AddressDetail address_detail_json) {
            this.address_detail_json = address_detail_json;
        }

        public void setConsignee_name(String consignee_name) {
            this.consignee_name = consignee_name;
        }

        public void setConsignee_phone(String consignee_phone) {
            this.consignee_phone = consignee_phone;
        }


        public class AddressDetail {
            private String province;
            private String city;
            private String detail;
            private String region;

            public String getCity() {
                return city == null ? "" : city;
            }

            public void setCity(String city) {
                this.city = city;
            }

            public void setDetail(String detail) {
                this.detail = detail;
            }

            public void setProvince(String province) {
                this.province = province;
            }

            public void setRegion(String region) {
                this.region = region;
            }

            public String getDetail() {
                return detail == null ? "" : detail;
            }

            public String getProvince() {
                return province == null ? "" : province;
            }

            public String getRegion() {
                return region == null ? "" : region;
            }

        }
    }

    public class OrderDetail {
        private List<Commodity> commodity_list;
        private String commodity_total_sum;
        private double express_price;
        private String creat_time;
        private String refund_time;
        private String payment_time;
        private String store_name;
        private String order_price;
        private String order_id;
        private int order_state;

        public List<Commodity> getCommodity_list() {
            return commodity_list;
        }

        public String getCommodity_total_sum() {
            return commodity_total_sum;
        }

        public String getCreat_time() {
            return creat_time;
        }

        public double getExpress_price() {
            return express_price;
        }

        public String getOrder_id() {
            return order_id;
        }

        public String getOrder_price() {
            return order_price;
        }

        public int getOrder_state() {
            return order_state;
        }

        public String getPayment_time() {
            return payment_time;
        }

        public String getRefund_time() {
            return refund_time;
        }

        public String getStore_name() {
            return store_name;
        }

        public void setCommodity_list(List<Commodity> commodity_list) {
            this.commodity_list = commodity_list;
        }

        public void setCommodity_total_sum(String commodity_total_sum) {
            this.commodity_total_sum = commodity_total_sum;
        }

        public void setCreat_time(String creat_time) {
            this.creat_time = creat_time;
        }

        public void setExpress_price(double express_price) {
            this.express_price = express_price;
        }

        public void setOrder_id(String order_id) {
            this.order_id = order_id;
        }

        public void setOrder_price(String order_price) {
            this.order_price = order_price;
        }

        public void setOrder_state(int order_state) {
            this.order_state = order_state;
        }

        public void setPayment_time(String payment_time) {
            this.payment_time = payment_time;
        }

        public void setRefund_time(String refund_time) {
            this.refund_time = refund_time;
        }

        public void setStore_name(String store_name) {
            this.store_name = store_name;
        }

        public class Commodity {
            private String commodity_description;
            private double commodity_price;
            private int commodity_sum;
            private int id;
            private String commodity_picture;
            private String commodity_name;

            public String getCommodity_picture() {
                return commodity_picture;
            }

            public void setCommodity_picture(String commodity_picture) {
                this.commodity_picture = commodity_picture;
            }

            public double getCommodity_price() {
                return commodity_price;
            }

            public void setCommodity_description(String commodity_description) {
                this.commodity_description = commodity_description;
            }

            public void setCommodity_name(String commodity_name) {
                this.commodity_name = commodity_name;
            }

            public void setCommodity_price(double commodity_price) {
                this.commodity_price = commodity_price;
            }

            public void setCommodity_sum(int commodity_sum) {
                this.commodity_sum = commodity_sum;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getId() {
                return id;
            }

            public String getCommodity_description() {
                return commodity_description;
            }

            public String getCommodity_name() {
                return commodity_name;
            }

            public int getCommodity_sum() {
                return commodity_sum;
            }
        }
    }

}
